package com.netease.nie.runner;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import com.netease.nie.base.cache.redis.config.RedisCacheConfig;

/**
 * 系统级别初始化操作
 * 1.缓存key配置
 * 2.线程池配置
 * @author KingsHunter
 * @createDate June 29th,2016
 *
 */
@Component
@Order(1)
public class SystemStartUpRunner implements CommandLineRunner {

	public void run(String... args) throws Exception {
		
		//缓存key配置
		RedisCacheConfig.getInstance();
		
		System.out.println("======== 系统启动成功 ========");

	}

}
